package com.ks.core.framework.cpsupload.demos.orderpayinvoice.paystrategy;

import java.math.BigDecimal;

// 策略模式：支付策略接口
public interface PaymentStrategy {
    boolean pay(String orderId, BigDecimal amount);
    boolean refund(String orderId, BigDecimal amount, String transactionId);
}